package com.ql.gamelogm.entities;

import java.util.Date;

public class ProblemData {
    private int id;//数据id
    private String gamername;//玩家游戏名
    private int mediCount;//嗑药次数
    private double avgtime;//平均一次嗑药耗时
    private int overrate;//超出阈值百分比
    private String degree;//程度
    private String describe;//描述
    private Date date;//时间
    public ProblemData() {
    }

    public ProblemData(int id, String gamername, int mediCount, double avgtime, int overrate, String degree, String describe,Date date) {
        this.id = id;
        this.gamername = gamername;
        this.mediCount = mediCount;
        this.avgtime = avgtime;
        this.overrate = overrate;
        this.degree = degree;
        this.describe = describe;
        this.date=date;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getGamername() {
        return gamername;
    }

    public void setGamername(String gamername) {
        this.gamername = gamername;
    }

    public int getMediCount() {
        return mediCount;
    }

    public void setMediCount(int mediCount) {
        this.mediCount = mediCount;
    }


    public double getAvgtime() {
        return avgtime;
    }

    public void setAvgtime(double avgtime) {
        this.avgtime = avgtime;
    }

    public int getOverrate() {
        return overrate;
    }

    public void setOverrate(int overrate) {
        this.overrate = overrate;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    @Override
    public String toString() {
        return "ProblemData{" +
                "id=" + id +
                ", gamername='" + gamername + '\'' +
                ", mediCount=" + mediCount +
                ", avgtime=" + avgtime +
                ", overrate=" + overrate +
                ", degree='" + degree + '\'' +
                ", describe='" + describe + '\'' +
                ", date=" + date +
                '}';
    }
}
